/* Author : Amalia Nuryamin	 091511037
 * 			Putri Andita R   091511059
 * Proyek 4*/


package jtk.project4.fleet.event;

import java.util.List;


import jtk.project4.fleet.domain.Parts;
import jtk.project4.fleet.domain.Vendor;
import jtk.project4.fleet.event.PartInventoryEvent.PartInventoryEventType;

import nl.coderight.jazz.Event;


public class PartInventoryEvent extends Event<PartInventoryEventType>{
	private List<Parts> parts;
	
	public enum PartInventoryEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE;
	}
	
	public PartInventoryEvent(PartInventoryEventType type){
		super(type);
	}
	
	public List<Parts> getParts(){
		return parts;
	}
	
	public void setParts(List<Parts> parts){
		this.parts = parts;
	}

	
}
